﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ChequeManagement
{
    public partial class DrawerTest : Form
    {
        public DrawerTest()
        {
            InitializeComponent();
        }

        private void DrawerTest_Load(object sender, EventArgs e)
        {
            BLL.BLLDrawer d1 = new BLL.BLLDrawer();
            BLL.BLLDrawerFactory d2 = new BLL.BLLDrawerFactory();
            d1.DrawerName = "reza";
            d1.Address = "Address";
            d1.Tel = "123214";
            
            d2.Edit(d1,3);
            label1.Text = d2.GetByKey(0).Address;

        }
    }
}
